package com.doll.util;

import java.util.Calendar;

public class FileUtil {
	/**
	 * 获得随机路径
	 * @return
	 */
	public static String getRandomPath(){
		Calendar c=Calendar.getInstance();
		int year=c.get(Calendar.YEAR);
		int month=c.get(Calendar.MONTH)+1;
		long len=Math.round(Math.random()*24)+1;
		return year+"/" +month+"/"+len+"/";
	}
}
